package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("树形结构")
public class TreeVo {

    /**
     * 楼层 ID
     */
    @ApiModelProperty("楼层 ID")
    private String value;

    /**
     * 楼层名称
     */
    @ApiModelProperty("楼层名称")
    private String label;

    /**
     * 子节点
     */
    @ApiModelProperty("子节点")
    private List<TreeVo> children;
}
